package com.egg.auth.entity.job;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.egg.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author east
 * @since 2022-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "auth_job")
@ApiModel(value = "Job对象", description = "岗位表")
public class Job extends BaseEntity {


    @ApiModelProperty(value = "岗位编码")
    @TableField(value = "auth_code")
    private String authCode;

    @ApiModelProperty(value = "名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "排序")
    @TableField(value = "sort")
    private Integer sort;


}
